<?php
echo $_SERVER['REQUEST_METHOD'];
?>

<form action="" method="post">
    <input type="submit" value="提交">
</form>
